<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>
<c:forEach  var="page1" begin="${splitPagenew.beginpage }" end="${splitPagenew.endpage }">
<c:if test="${page1==splitPagenew.currentpagenumber }">
[
</c:if>
<a href="<%=request.getContextPath()%>/TestSplitPageServlet?currentpage=${page1}"> ${page1 }</a>
<c:if test="${page1==splitPagenew.currentpagenumber }">
]
</c:if>
</c:forEach>

<br>
<c:forEach items="${booksList }" var="book">
书名： ${book.bookname }
作者名称： ${book.authorname }
出版社名称： ${book.publishername }<br>
</c:forEach>
</body>
</html>